package com.example.project3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName stages
 */
@TableName(value = "stages")
@Data
public class Stages implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "stage_id", type = IdType.AUTO)
    private Integer stageId;
    /**
     *
     */
    @TableField(value = "project_id")
    private Integer projectId;
    /**
     * 阶段名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 此阶段在项目中排第几个，比如1就是第一阶段，2就是第二阶段
     */
    @TableField(value = "rank")
    private Integer rank;
}